/* 
 * File:   MappedTexture.h
 * Author: brady
 *
 * Created on February 9, 2012, 12:49 PM
 */

#ifndef MAPPEDTEXTURE_H
#define	MAPPEDTEXTURE_H

#include <textures/Texture.h>
#include <core/PNGImage.h>
using namespace std;

class MappedTexture : public Texture {
public:
    MappedTexture(char* texFile);
    MappedTexture(const MappedTexture& orig);
    Vector3D getColor(const IntersectionResult& ir);
    Vector3D getNormal(const IntersectionResult& ir);
    virtual ~MappedTexture();
private:
    PNGImage* tex;


};

#endif	/* MAPPEDTEXTURE_H */

